package com.jianglin.state2.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jianglin.state2.dao.entity.Team;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TeamMapper extends BaseMapper<Team> {

    /**
     *
     * @return
     */
    @Select("SELECT distinct teamId from team")
    List<Team> selectCountByTeam();
}
